package com.devpoint2;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.core.io.*;

public class Test {
	public static void main(String args[])
	{
		Resource r=new ClassPathResource("applicationContext.xml");//r is object of Resource class
		BeanFactory factory=new XmlBeanFactory(r);
		  Employee s=(Employee)factory.getBean("e");  
		  s.show();
		  
	}
}
